<!DOCTYPE html>
<html>
  <head>
    <title>Mocha</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="mocha.css" />
   <script type="text/javascript" src="../js/jquery.js" ></script>
    <script type="text/javascript" src="../js/crypto-js.js"></script>
  </head>
  <body>

    <div id="mocha"></div>

    <input type="file" id="fileInput" multiple="multiple"/>
    <button id="fileUploadBtn">上传</button>
    <button id="pause">暂停</button>
    <button id="runtest">执行测试</button>

    <script src="../js/nos-js-sdk.js"></script>
    <script src="chai.js"></script>
    <script src="mocha.js"></script>
    <script>mocha.setup('bdd');</script>
    <script src="tests.js"></script>
    <script> 
    $('#runtest').on('click', function(){
    	mocha.run();
    })      
    </script>

  </body>
</html>
